#include "mock_manager_replaying_state.hpp"
#include "invalid_operation_exception.hpp"

namespace vimock {
mock_manager_replaying_state::mock_manager_replaying_state(
		behavior_vector behaviors) :
	replayer(behaviors) {
}
object mock_manager_replaying_state::invoked(invocation inv) {
	return replayer.replay(inv);
}
mock_manager_replaying_state::~mock_manager_replaying_state() {
}

void mock_manager_replaying_state::record_value_to_return(object value_to_return) {
	throw invalid_operation_exception();
}
void mock_manager_replaying_state::record_exception_to_throw(
		exception_thrower ex_to_throw) {
	throw invalid_operation_exception();
}
mock_manager_state mock_manager_replaying_state::replay() {
	throw invalid_operation_exception();
}
void mock_manager_replaying_state::verify() {
	replayer.verify();
}
}
